package com.xinke.module.system.model.vo.logger;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.xinke.component.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.xinke.component.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 系统访问记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LoginLogPageReqVO extends PageParam {

    @Schema(description = "日志类型", example = "1")
    private Long logType;

    @Schema(description = "链路追踪编号", example = "21682")
    private String traceId;

    @Schema(description = "用户编号", example = "12004")
    private Long userId;

    @Schema(description = "用户类型", example = "2")
    private Integer userType;

    @Schema(description = "用户账号", example = "李四")
    private String userName;

    @Schema(description = "登录结果")
    private Integer loginResult;

    @Schema(description = "用户 IP")
    private String userIp;

    @Schema(description = "浏览器 UA")
    private String userAgent;

}